package org.ccay.audit.service;

import java.util.List;

import org.ccay.audit.vo.LogVO;
import org.ccay.core.exception.ApplicationException;

/**
 * 审计日志查询服务。
 */
public interface ILogService {

	/**
	 * 添加一条审计日志记录
	 * 
	 * @param logVO
	 */
	public void createLog(LogVO logVO) throws ApplicationException;
	
	/**
	 * 异步创建一条日志
	 * @param logVO
	 * @throws ApplicationException
	 */
	public void asyncCreateLog(LogVO logVO)throws ApplicationException;
	
	/**
	 * 批量插入多条审计日志
	 * 	
	 * @author chaowangbang
	 * @since Feb 27, 2012
	 * @param logs
	 * @throws ApplicationException
	 */
	public void createLogList(List<LogVO> logs) throws ApplicationException;

}